<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('credit_recommend_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>信用卡编号：</span><input type="text" name="credit_product_id" value="{$credit_product_id}"/></li>
                    <li><span>推荐位置：</span>{:widget('common/Select/select',array('credit_recommend_location','credit_recommend_location',$credit_recommend_location))}</li>
                    <li style="width: 100%"><span>所在城市：</span>{:widget('common/Select/select_group',array('area',array($area_list,"area_id","acronym","parent_id"),0,$area))}</li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
                <div class="fr"><a class="but_blue" href="{:Url('credit/credit_up_list')}">增加推荐</a></div>
            </li>
        </ul>
    </form>
</div>

<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
                <tr>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡编号</p></a></th>
                    <th style="width: 25%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡名称</p></a></th>
                    <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>推荐位置</p></a></th>
                    <th style="width: 25%;" class="tabSort-header"><a class="tabSort-header-inner"><p>推荐说明</p></a></th>
                    <th style="width: 5%;" class="tabSort-header"><a class="tabSort-header-inner"><p>排序</p></a></th>
                    <th style="width: 15%;" class="tabSort-header"><a class="tabSort-header-inner"><p>备注</p></a></th>
                    <th class="tabSort-header"><a class="tabSort-header-inner"><p>操作</p></a></th>
                </tr>
            </thead>
            <tbody>
                {foreach name="credit_recommend_list" item="info"}
                    <tr>
                        <td>{$info.credit_product_id}</td>
                        <td>{:widget('common/Name/credit',array($info['credit_product_id']))}</td>
                        <td>{:widget('common/Color/color',array('credit_recommend_location',$info['credit_recommend_location']))}</td>
                        <td>{$info.credit_note}</td>
                        <td>{$info.order_by}</td>
                        <td>{$info.remark}</td>
                        <td>
                            <a data-type="info-win" data-src="{:Url('credit_recommend_info',array('credit_recommend_id'=>$info['credit_recommend_id']))}" data-title="详情" data-width="80%" data-height="80%" class="blue">详情</a>
                            <a href="{:Url('credit_recommend_edit',array('credit_recommend_id'=>$info['credit_recommend_id']))}" class="blue">编辑</a>
                            <a href="{:Url('credit_recommend_del',array('credit_recommend_id'=>$info['credit_recommend_id']))}" class="blue">删除</a>
                        </td>
                    </tr>
                {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>
